package com.shycloud.mido.member.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

import lombok.Data;

@Data
@ApiModel(value = "活动相册")
@TableName(value = "atv_media_space")
public class AtvMediaSpace {

	/** 主键 */
	@TableId(value = "id", type = IdType.UUID)
	@ApiModelProperty(value = "主键")
	private String id;
	/** 活动ID */
	@TableField(value = "main_active_id")
	@ApiModelProperty(value = "活动ID")
	private String mainActiveId;
	/** 相册类别ID（预留） */
	@TableField(value = "category_id")
	@ApiModelProperty(value = "相册类别ID（预留）")
	private String categoryId;
	/** 名称 */
	@TableField(value = "title")
	@ApiModelProperty(value = "名称")
	private String title;
	/** 0-照片，1-视频 */
	@TableField(value = "`type`")
	@ApiModelProperty(value = "0-照片，1-视频")
	private String type;
	/** 素材ID */
	@TableField(value = "media_id")
	@ApiModelProperty(value = "素材ID")
	private String mediaId;
	/** 素材路径 */
	@TableField(value = "media_url")
	@ApiModelProperty(value = "素材路径")
	private String mediaUrl;
	/** 描述 */
	@TableField(value = "description")
	@ApiModelProperty(value = "描述")
	private String description;
	/** 备注 */
	@TableField(value = "remark")
	@ApiModelProperty(value = "备注")
	private String remark;
	/** 上传时间 */
	@TableField(value = "upload_datetime")
	@ApiModelProperty(value = "上传时间")
	private Date uploadDatetime;
	/** 0:未审核, 1:通过, 2:拒绝 */
	@TableField(value = "status")
	@ApiModelProperty(value = "0:未审核, 1:通过, 2:拒绝")
	private String status;
	/**0:官方 1：个人 */
	@TableField(value = "source")
	@ApiModelProperty(value = "0:官方 1：个人")
	private String source;
	/** 0-正常，1-删除 */
	@TableField(value = "del_flag")
	@ApiModelProperty(value = "0-正常，1-删除")
	private String delFlag;
	/** 创建人 */
	@TableField(value = "create_user")
	@ApiModelProperty(value = "创建人")
	private String createUser;
	/** 创建时间 */
	@TableField(value = "create_time")
	@ApiModelProperty(value = "创建时间")
	private Date createTime;
	/** 更新人 */
	@TableField(value = "update_user")
	@ApiModelProperty(value = "更新人")
	private String updateUser;
	/** 更新时间 */
	@TableField(value = "update_time")
	@ApiModelProperty(value = "更新时间")
	private Date updateTime;

	public static final String COL_ID = "id";

	public static final String COL_MAIN_ACTIVE_ID = "main_active_id";

	public static final String COL_CATEGORY_ID = "category_id";

	public static final String COL_TITLE = "title";

	public static final String COL_TYPE = "type";

	public static final String COL_MEDIA_ID = "media_id";

	public static final String COL_MEDIA_URL = "media_url";

	public static final String COL_DESCRIPTION = "description";

	public static final String COL_REMARK = "remark";

	public static final String COL_UPLOAD_DATETIME = "upload_datetime";

	public static final String COL_DEL_FLAG = "del_flag";

	public static final String COL_CREATE_USER = "create_user";

	public static final String COL_CREATE_TIME = "create_time";

	public static final String COL_UPDATE_USER = "update_user";

	public static final String COL_UPDATE_TIME = "update_time";
}